package com.example.commapp.api;

import com.example.commapp.module.login.SPUser;
import com.example.ln.coustomapplication.base.BaseResult;
import com.example.ln.coustomapplication.model.ApiService;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * Describe:
 * Author: Tenda
 * Time: 2018/12/10  15:40
 * Corpyright (C) 2018-2018 山东六牛科技有限公司
 */
public interface MyApiServices extends ApiService {

    @POST("index.php/Api/User/login")
    Observable<BaseResult<List<SPUser>>> onLogin(@Path("username") String username,@Path("password") String password);
}
